#pragma once
#include "netdefine.h"
class IpPort;
class ISession
{
public:
	ISession() {};
	virtual~ISession() {};
	virtual bool SendData(const char* data,const DATA_LENGTH_TYPE length)=0;
	virtual const SESSIONID GetSessionId() = 0;
	virtual const SOCKID GetSockId() = 0;
	virtual const IpPort& GetIpPort() = 0;
private:

};
